home *** CD-ROM | disk | FTP | other *** search
/ Collection of Tools & Utilities / Collection of Tools and Utilities.iso / 4dostool / mov_numb.zip / MOV&NUMB.DOC < prev   
Text File  |  1993-06-02  |  1KB  |  43 lines

  1.  
  2.  
  3.                                 Move and Number
  4.  
  5.  
  6.                  A 4Dos Batch File to save and renumber files.
  7.                                 by John D. Cook
  8.                                   June 2, 1993
  9.  
  10. USEAGE:   mov&numb filename[number].txt  savedirectory
  11.  
  12. mov&numb is for storing files of the same subject together in a storage
  13. directory with sequentially numbered filenames.  All files in current and
  14. target directories beginning with "filename" and having no number will be
  15. renamed to "filename.bad" as to not interfere with the number searching
  16. process.  Mov&numb works by searching for the highest numbered file in the
  17. storage directory, returning to the current directory, and moving all files in
  18. the current directory of the correct format to the storage directory and
  19. simultaniously sequentially renumbering them after the current files.
  20.  
  21.  
  22. Example:
  23. Current direcory is \download and storage directory is \info\robot.
  24. \download contains robot1.txt and robot2.txt and \info\robot contains
  25. files up to robot48.txt.
  26.  
  27. mov&numb robot \info\robot
  28.  
  29. will move robot1.txt to \info\robot\robot49.txt and move robot2.txt to
  30. \info\robot\robot50.txt
  31.  
  32. I use this batch file as part of my automatic download program to store Usenet
  33. news articles in sequentally numbered files.
  34.  
  35.  
  36.  
  37.  
  38.  
  39.  
  40.  
  41.  
  42.  
  43.